<%--
  Created by IntelliJ IDEA.
  User: 常肖飞先生
  Date: 2022/5/15
  Time: 0:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改图书信息</title>
</head>
<body>

<% Integer bookId = Integer.parseInt(request.getParameter("bookId"));  %>

<div align="center">
    <form action="updateBook?bookId=<%=bookId%>" method="post">
        <table>
            <tr>
                <td>书名</td>
                <td><input type="text" name="name"></td>
            </tr>
            <tr>
                <td>价格</td>
                <td><input type="text" name="price"></td>
            </tr>
            <tr>
                <td>简介</td>
                <td><input type="text" name="description"></td>
            </tr>
            <tr>
                <td>作者</td>
                <td><input type="text" name="author"></td>
            </tr>
            <tr>
                <td>出版社</td>
                <td><input type="text" name="publisher"></td>
            </tr>
            <tr>
                <td>
                    <button >提交</button>
                </td>
                <td><input type="reset" name="重置"></td>
            </tr>
        </table>

        ${msg}
    </form>

</div>
</body>
</html>
